$OpenBSD: patch-engine_serverbrowser_cpp,v 1.1 2015/04/11 13:49:14 jsg Exp $
--- engine/serverbrowser.cpp.orig	Sat Apr 11 22:52:25 2015
+++ engine/serverbrowser.cpp	Sat Apr 11 22:52:45 2015
@@ -39,12 +39,10 @@ int resolverloop(void * data)
         while(resolverqueries.empty()) SDL_CondWait(querycond, resolvermutex);
         rt->query = resolverqueries.pop();
         rt->starttime = totalmillis;
-        SDL_UnlockMutex(resolvermutex);
 
         ENetAddress address = { ENET_HOST_ANY, ENET_PORT_ANY };
         enet_address_set_host(&address, rt->query);
 
-        SDL_LockMutex(resolvermutex);
         if(rt->query && thread == rt->thread)
         {
             resolverresult &rr = resolverresults.add();
